﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using ElectronicsMarket.Service.Models;

namespace ElectronicsMarket.Service.IService
{
    [ServiceContract]
    interface IOrderService
    {
        [OperationContract]
        bool createNewOrder(int customerId, long orderId);

        [OperationContract]
        long getLastOrderId();

        [OperationContract]
        List<ORDER> getAllOrder();

        [OperationContract]
        void updateOrder(ORDER order);
    }
}
